import { request } from '@pkg/request/src';

export enum Api {
  page = '/userGoods/page',
  getUserGoodsDetail = '/userGoods/get',
}

export const getUserGoodsDetail = params =>
  request.get(
    {
      url: Api.getUserGoodsDetail,
      params: params,
    },
    { errorMessageMode: 'none', successMessageMode: 'none' },
  );
